import React, { useEffect } from 'react';
import BsinLayout from './BsinLayout';
import { getLocalStorageInfo } from '@/utils/localStorageInfo'

export default function index(props: any) {

  // 传入用户信息
  let userInfo = getLocalStorageInfo('userInfo');

  // 传入子应用信息
  let appInfo = getLocalStorageInfo('appInfo')

  // 传入logo信息

  return <BsinLayout
    userInfo={userInfo}
    children={props.children}
    appInfo={appInfo}
  />;
}
